home *** CD-ROM | disk | FTP | other *** search
/ Best of Shareware / Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso / mac / ZIPPED / WINDOWS / MATH / VSCALC.ZIP / VSCALC.TXT < prev   
Text File  |  1992-05-17  |  10KB  |  228 lines

  1.  
  2.  
  3. VISIBLE STACK CALCULATOR
  4.  
  5. Copyright  (C) 1992 by Michael B. Stevens
  6.  
  7. Visible Stack Calculator Ver. 1.0 is Copyright (C) 1992 Michael B.
  8. Stevens, all rights reserved. The related  documentation is Copyright
  9. (C) 1992 Michael B. Stevens, all rights reserved.  This software may
  10. be distributed  freely in unaltered form, but may not be sold without
  11. the express written permission of Michael B. Stevens    THIS SOFTWARE IS
  12. DISTRIBUTED AS IS; THERE ARE NO WARRANTIES OR GUARANTEES THAT IT  WILL
  13. SUIT YOUR NEEDS, AND MICHAEL B. STEVENS SHALL NOT BE RESPONSIBLE IN
  14. ANY WAY  FOR YOUR USAGE OF THIS PROGRAM NOR FOR ANY POSSIBLE
  15. CONSEQUENTIAL DAMAGES THAT MAY ARISE FROM THAT USAGE.
  16.  
  17.  
  18. This is NOT a free program, but you are encouraged to share copies
  19. of it with your friends for evaluation.
  20. If you enjoy using this program, you should register it.
  21. The fee is $25.00 .
  22. (Texas residents please add 6.25% sales and use tax, plus any
  23. applicable city and county SPD  and transit taxes.  Out-of-state
  24. residents, please include applicable taxes for your area.)
  25.  
  26. SEND TO:
  27.     Michael B. Stevens
  28.     P.O.Box 1523
  29.     Buda, TX 78610
  30.  
  31. CIS: 70461,2540
  32.  
  33.  
  34.  
  35.  
  36. SETUP
  37. ---------------------------------------------------------------------------
  38. Visible Stack Calculator runs under Microsoft Windows 3.0 and 3.1.
  39. Copy VSCALC.EXE and VSCALC.HLP into your windows directory.
  40. Open Windows and pull down File\New in the program manager 
  41. to install VSCALC.EXE as a program item.  
  42.  
  43. A mouse is required.  Although you can enter numbers from the
  44. keyboard, many buttons must be pushed by clicking the left mouse 
  45. button.
  46.  
  47. ---------------------------------------------------------------------------
  48. OVERVIEW
  49.  
  50. This program is a scientific calculator.  It is similar to other
  51. stack (or Reverse Polish Notation -- RPN)  calculators, but with
  52. enhancements that makes it easier to use and understand.
  53.  
  54. Remember that before you can perform any operation on a number, that
  55. number must be pushed onto the  stack  (visible in the large box with
  56. the scroll bar beside it) by clicking the 'Push' button with the
  57. mouse.   (Pressing the "Enter" key or the right arrow key also pushes 
  58. the number onto the stack.)  For instance, if you wanted to subtract
  59. 3 from 5, you would click:
  60.  
  61.     '5', 'Push', '3', 'Push', '-'  
  62.  
  63. The result, 2,  will be found at the top of the stack window.  
  64. Note  that the 3 and 5 are on the stack before you click the '-'
  65. button, and that the 5 is pushed before the 3.
  66.  
  67. This is a concept that takes a little getting  used to, but users 
  68. of RPN calculators know that a very short learning curve will soon pay 
  69. for  itself with power of computation and real ease of use -- especially 
  70. for computations that are more  complicated than "5-3=2."  This is
  71. because intermediate results can be kept on the stack.
  72.  
  73. Other RPN calculators provide only a tiny stack window,
  74. and the user must imagine what is happening on the stack.  With 
  75. this calculator, you will be able to see the  stack through a 
  76. large window as you manipulate it.  
  77.  
  78. Other RPN calculators' functions (like "Swap", "+", and "Rot")
  79. only operate on the top few items of the  stack.  For instance, when
  80. the "Swap" button is pressed, the first two members of the stack are
  81. switched.   But with this calculator, you can scroll the stack.  Any
  82. operator will work on the first few items in the stack  window just
  83. as if they were the top items on the stack.  On a practical level,
  84. this means that you can keep a  number of calculations going on the
  85. stack at the same time, and move around to the different ones by 
  86. scrolling the stack.  Technically, this makes the stack more than a
  87. stack--it makes it a kind of linked list.   But you don't have to
  88. know any more than you would with an old-fashioned stack calculator
  89. -- except how to drag and click scroll bars.  Remember that you can
  90. fine-adjust scroll bars by clicking the arrow keys at each end.
  91. The up- and down-arrow-keys can also be used for fine adjustments.
  92.  
  93. Take some time to browse through the rest of the documentation, then
  94. just play with the calculator for a  while.  You'll get the hang of
  95. it in no time.
  96.  
  97.  
  98. ---------------------------------------------------------------------
  99. Buttons:  DEC,SCI,HEX
  100.  
  101. Input to the small editing box is always in normal decimal notation 
  102. or scientific notation.  However, the  stack can be displayed in  
  103. decimal, scientific, or hex notation by pressing the appropriate button.  
  104. When displaying the stack in hex,  the numbers appear to be truncated, 
  105. but they have NOT been affected internally, so you can always go  back 
  106. to decimal or scientific notation without affecting your calculations.  
  107. Negative numbers and very large numbers are also not displayed in hex 
  108. mode.  When in decimal mode, very large numbers are displayed in 
  109. scientific notation.
  110.  
  111.  
  112. ---------------------------------------------------------------------
  113. Buttons:  +,-,*,/
  114.  
  115. These buttons act on the first two numbers in the stack window.  The
  116. first two numbers in the window are  removed.  The result of the
  117. operation is placed at the top of the window.  The rest of the stack
  118. is shifted so that there will be  no empty space.
  119.  
  120. With '/', the number at the top of the stack window divides INTO the 
  121. second number from the top of the window.  With '-' the number at the 
  122. top of the stack window is subtracted FROM the second number from 
  123. the top of the stack window.  If you find that you have pushed the 
  124. numbers onto the stack in the wrong order, simply click the swap button 
  125. just before clicking '/' or '-'. 
  126.  
  127. The '+', '-', '*', and '/' keys can be used in place of the buttons. 
  128.  
  129.  
  130.  
  131. ----------------------------------------------------------------------
  132. Buttons:  .,Numbers,e+/-
  133.  
  134. Pressing any number key or clicking a number button will place that 
  135. number into the small editing box.  The '.' key and button works 
  136. similarly.  Pressing the 'e' key or the 'E' key or clicking the 'e+/-' 
  137. button will place the 'e+' symbol in the small editing box.  
  138. (The 'e+/-' button can be used both in scientific and decimal mode.  In 
  139. decimal mode, the system will try to convert the number to a decimal 
  140. when it is pushed.  It will not do so only if the number is too large.)  
  141. Each subsequent time that the 'e+/-' button is clicked after the 
  142. 'e+' symbol appears in the small edit box, the symbol will toggle 
  143. between 'e+' and 'e-'. 
  144.  
  145.  
  146. ----------------------------------------------------------------------
  147. Buttons:  Sin,Asin,Cos,Acos,Tan,Atan,Log,Ln,Mod,Sqr,Sqrt,^,1/x,Exp,Pi
  148.  
  149. Pi pushes the value of Pi onto the stack at the top of the stack window.
  150.  
  151. '^' raises the second number in the stack window to the power of the 
  152. first number in the stack window. The result is placed at the top of the
  153. stack window after the first two numbers are removed and the stack is 
  154. shifted so that there is no empty space.
  155.  
  156. Mod devides the second number in the stack window by the first.  The
  157. remainder is placed at the top of the stack window after the first 
  158. two numbers are removed and the stack is shifted so that there is no
  159. empty space.
  160.  
  161. For the other functions, the number at the top of the stack 
  162. window is replaced with its own sine, arc sine, reciprocal,etc.  
  163. If you want the original number to remain on the stack, press dupe 
  164. before pressing one of these buttons.  The trig functions return 
  165. their answer in radians.  Log is the base 10 log, Ln is the natural 
  166. log and 1/x is the reciprocal of the number at the top of the stack
  167. window.  
  168.  
  169.  
  170. ----------------------------------------------------------------------
  171. Buttons:  C,<-,+/-
  172.  
  173. The 'C' button clears the calculator's small editing window.  You will
  174. need to press it after errors occur, or whenever you want to re-try
  175. the edit  you are making in the small window.  Pressing the 'c'
  176. or 'C' key has the same effect.  Do not confuse this
  177. button with the 'Clear' button, which clears the stack.
  178.  
  179. The '<-' button erases the last character in the small editing box.
  180. Pressing the backspace key has the same effect.
  181.  
  182. The '+/-' button toggles the number in the small editing box between
  183. positive and negative.  Pressing the 'n' or'N' key has the same effect.
  184.  
  185.  
  186. ----------------------------------------------------------------------
  187. Buttons:  Sum,Mean,Stdev
  188.  
  189. The sum, mean, or standard deviation of the stack from the top of the
  190. stack window will be pushed onto the  stack at the top of the window.
  191. Nothing is removed from the stack when you use these buttons.
  192.  
  193.  
  194. ----------------------------------------------------------------------
  195. Buttons:  Pop,Push,Swap,Rot,Dupe,Clear
  196.  
  197. These buttons manipulate the stack.
  198.  
  199. Pop removes the number from the top of the stack window and places it
  200. in the small editing box.  The stack is shifted to close the empty
  201. gap.  The left-arrow key can also be used to pop numbers.
  202.  
  203. Push shifts the stack to create an empty space at the top of the
  204. stack window.  Then it moves the number from the small editing box to
  205. the top  of the stack window.  You must push one or more numbers onto
  206. the stack before you can use any of the operations like addition,
  207. trig, stack  manipulation, etc.  The enter key and the right-arrow
  208. key can also be used to push numbers.
  209.  
  210. Swap interchanges the two numbers at the top of the stack window.
  211. Pressing Swap twice consecutively will leave the stack as it was
  212. before  Swap was pressed.
  213.  
  214. Rot saves the number at the top of the stack window. Then it shifts
  215. the next two numbers up.  Then it moves the saved number to the space
  216. left by the shifted numbers.  Pressing Rot three times consecutively
  217. will leave the stack as it was before Rot was pressed.
  218.  
  219. Dupe puts a copy of the number at the top of the stack window into
  220. the top position in the stack window after shifting the stack to
  221. make a space for it.
  222.  
  223. Clear clears the stack.  Do not confuse it with the 'C' button, which
  224. clears the small editing box.  The entire stack is cleared -- not
  225. just from the  stack window.
  226.  
  227.  
  228.